/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package bean;

/**
 *
 * @author dell
 */
public class category {
    private int id;
    private String name;
    private int parent_id;

    public category(){}

    public category(int id, String name, int parent_id){
        this.id = id;
        this.name = name;
        this.parent_id = parent_id;
    }

    public int getId(){
        return id;
    }

    public void setId(int id){
        this.id = id;
    }

    public String getName(){
        return name;
    }

    public void setName(String name){
        this.name = name;
    }

    public int getParentId(){
        return parent_id;
    }

    public void setParentId(int parent_id){
        this.parent_id = parent_id;
    }
}
